<div class="caracteristicas index">
<h2><?php __('Caracteristicas');?></h2>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Nueva Caracteristica', true), array('action'=>'add')); ?></li>
	</ul>
</div>

<div class="paging">
	<?php echo $paginator->prev('<< '.__('Anterior', true), array(), null, array('class'=>'disabled'));?>
 | 	<?php echo $paginator->numbers();?>
	<?php echo $paginator->next(__('Siguiente', true).' >>', array(), null, array('class'=>'disabled'));?>
</div>

<p>
<?php
echo $paginator->counter(array(
'format' => __('P&aacute;gina %page% de %pages%, mostrando %current% registros de %count% total, empezando %start%, terminando en %end%', true)
));
?></p>
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo $paginator->sort('id');?></th>
	<th><?php echo $paginator->sort('categoria_id');?></th>
	<th><?php echo $paginator->sort('nombre');?></th>
	<th><?php echo $paginator->sort('tipo');?></th>
	<th><?php echo $paginator->sort('created');?></th>
	<th><?php echo $paginator->sort('modified');?></th>
	<th class="actions"><?php __('Actions');?></th>
</tr>
<?php
$i = 0;
foreach ($caracteristicas as $caracteristica):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $caracteristica['Caracteristica']['id']; ?>
		</td>
		<td>
			<?php echo $caracteristica['Caracteristica']['categoria_id']; ?>
		</td>
		<td>
			<?php echo $caracteristica['Caracteristica']['nombre']; ?>
		</td>
		<td>
			<?php echo $caracteristica['Caracteristica']['tipo']; ?>
		</td>
		<td>
			<?php echo $caracteristica['Caracteristica']['created']; ?>
		</td>
		<td>
			<?php echo $caracteristica['Caracteristica']['modified']; ?>
		</td>
		<td class="actions">
			<?php echo $html->link(__('View', true), array('action'=>'view', $caracteristica['Caracteristica']['id'])); ?>
			<?php echo $html->link(__('Edit', true), array('action'=>'edit', $caracteristica['Caracteristica']['id'])); ?>
			<?php echo $html->link(__('Delete', true), array('action'=>'delete', $caracteristica['Caracteristica']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $caracteristica['Caracteristica']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
</div>

